package com.baizhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author chenjf
 * @email 3442748294@qq.com
 * @date 2021-08-25 15:34:45
 */
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
@TableName("yx_user")
public class User implements Serializable {

	@TableId(type = IdType.ASSIGN_ID,value = "id")
	private String id;

	@TableField(value = "username")
	private String username;

	@TableField(value = "password")
	private String password;

	@TableField(value = "sign")
	private String sign;

	@TableField(value = "head_img")
	private String headImg;

	@TableField(value = "phone")
	private String phone;

	@TableField(value = "wechat")
	private String wechat;

	@TableField(value = "status")
	private String status;

	@TableField(value = "create_time")
	private Date createTime;

	@TableField(value = "sex")
	private String sex;

	@TableField(value = "city")
	private String city;

}
